package com.ctgu.service;
import com.ctgu.entity.Supplier;

import java.util.List;

public interface SupplierService {

    Integer addSupplier(  Supplier supplier);

    Integer deleteSupplierById(  Integer id);

    Integer updateSupplier(  Supplier supplier);

    List<Supplier> getAllSupplierList();

    Supplier getSupplier( Integer id);

   List<Supplier> querySupplierByIdName( String name);
}
